#ifndef PHP_REGISTRY_CLASS
#define PHP_REGISTRY_CLASS

#include "php.h"
#include <stdexcept>
#include <functional>

zend_class_entry *php_registry_ce; 
zend_object_handlers php_registry_object_handlers; 

#define REGISTRY_CLASS_NAME EVILWORLDS_NS "\\Registry"

PHP_METHOD(Registry, get); 
PHP_METHOD(Registry, set); 
PHP_METHOD(Registry, delete); 

static inline void init_class_registry(); 
static inline void destroy_class_registry(); 
#endif // PHP_REGISTRY_CLASS
